package com.jiyun.wait.mapper;

import com.jiyun.pojo.order.OrderCost;
import com.jiyun.pojo.order.OrderInformation;
import com.jiyun.pojo.driver.Driver;
import com.jiyun.pojo.order.OrderTime;

public interface WaitMapper {


    OrderInformation selectOrderOne();

    int closeOrder(OrderInformation orderInformation);

    Driver findSelectDriver(Integer driverId);


    int closeOrderNoPeople(OrderInformation orderInformation);

    OrderInformation selectOrderByOrderId(OrderInformation orderInformation);

    int saveOrderTime(OrderInformation orderInformation);

    int saveOrder(OrderInformation orderInformation);

    OrderCost selectOrderCostByOrderId(OrderInformation orderInformation);

    OrderTime selectOrderTimeByOrderId(OrderInformation orderInformation);

    void saveOrderCost(OrderCost orderCost);

    void saveOrderTimeOnOrderTime(OrderTime orderTime);

    Driver selectDriverById(Driver driver);

    OrderInformation selectOrderStatusIsTake(String orderId);

    void updateCancelTime(OrderTime orderTime);

    void updateOrderInformation(OrderInformation orderInformation1);

}
